/**
 * Created by ercha on 2016/1/2.
 * 保存一些常量，与 entity 和 数据库一致
 */


var host = location.host;

var path = (window.location.pathname.split("/")[1]=='ess' ? '/ess': "");

var book_status = ["下架", "上架"];

var book_status_up = 1, book_status_down = 0;

var message_status = ["未读", "已读"];

var message_status_unread = 0, message_status_read = 1;

var report_status = ["待处理", "正在处理", "已处理"];

var report_status_pending = 0, report_status_procesing= 1, report_status_dealed = 2;
